package com.example.votemanage.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;

import java.io.Serializable;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 *
 * @author xingcheng
 * @since 2024-06-06
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("vote_user")
@NoArgsConstructor
@AllArgsConstructor
public class VoteUser implements Serializable {
    private static final long serialVersionUID = 1L;
    @TableId("VU_USER_ID")
    private String vuUserId;

    @TableField(value = "VU_USER_NAME", exist = true)
    private String vuUserName;

    @TableField(value = "VU_PASSWORD", exist = true)
    private String vuPassword;

    @TableField(value = "VU_STATUS", exist = true)
    private Integer vuStatus;

    @TableField(value = "VU_VERSION", exist = true)
    private Integer vuVersion;

    @TableField("openid")
    private String openid;
}
